package org.bjtu.model;

import java.util.Date;

/**
 * Paymentrec entity. @author MyEclipse Persistence Tools
 */

public class Paymentrec extends com.janus.persistence.Entity implements java.io.Serializable {

	// Fields

	private Long id;
	private Paymenttype paymenttype;
	private Member member;
	private Date payrdate;

	// Constructors

	/** default constructor */
	public Paymentrec() {
	}

	/** minimal constructor */
	public Paymentrec(Long id, Date payrdate) {
		this.id = id;
		this.payrdate = payrdate;
	}


	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Paymenttype getPaymenttype() {
		return this.paymenttype;
	}

	public void setPaymenttype(Paymenttype paymenttype) {
		this.paymenttype = paymenttype;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Date getPayrdate() {
		return this.payrdate;
	}

	public void setPayrdate(Date payrdate) {
		this.payrdate = payrdate;
	}

}